package com.qf.czh.mapper;

import com.qf.czh.model.AnnualLeave;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LeaveMapper {
    List<AnnualLeave> getAllAnnualLeave(Map<String , Object> params);

    Integer addAnnualLeave(Map<String, Object> params);

    Integer updateLeave(Map<String , Object> params);

    Integer deleteLeave(@Param("ids") List<String> ids);
}
